#include <iostream>
#include <string>

using namespace std;

int main() {

    string names[3] = { "张三", "李四", "王五" };

    int scores[3][3] = {
        { 100, 100, 100 },
        { 90, 50, 100 },
        { 60, 70, 80 }
    };

    for (int i = 0; i < 3; i++) {
        int sum = 0;
        for (int j = 0; j < 3; j++) {
            // cout << scores[i][j] << " ";
            sum += scores[i][j];
        }
        cout << names[i] << "的成绩为:" << sum << endl;
    }

    return 0;
}